package org.flowers.unbeaten.base.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.flowers.unbeaten.base.entity.Role;

import java.util.List;

/**
 * @description 用户拥有角色vo
 * @author RyanWang
 * @date 2021-07-20 17:23:03
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserOwnRoleVo {

    @ApiModelProperty(value = "所有角色集合")
    private List<Role> roles;

    @ApiModelProperty(value = "用户所拥有角色集合")
    private List<String> roleIds;
}
